Simplified XY Axes mapping code using a newer and extremely simple derivation. This should make constructing the transformation equations very easy.