Added lat2x

Added lat2x that calculates the x position from a given latitude