Split up conversion from horizontal to equatorial

Conversion to hour angle, declination and intermediate step.
Remove unused arguments in function (longitude).