I don't know if this would work or even what level of accuracy you would get, but what about a water level ? You could make one out of clear plastic tubing https://en.wikipedia.org/wiki/Water_level_(device) it is easy enough to make one that will do 4 places, just by adding in T's and more tubing. That way you could put your X rails coplanar, for a start.