Radian conversions
Polar bugfix

Added case to likelihood for polar and no twilight
Midpoint calculation

Modified version of midpoint from geosphere.