Added Cadair's functions for calculation of HPC distance.
These will be incorporated to fix any problems in the Helioprojective transforms.