The Calculation of Astronomical Refraction in Marine Navigation