Create x2lat.js

Calculates the latitude from a given x position