Added function to convert XYZ to Lambda Beta coordinates.  Also started modifying types to prepare for 2D EMD.