Fix an issue with the full horizon; when looping from theta = pi down to pi/2 it tends to overshoot the lower bound unless corrected.
Correct a nasty error if the horizon is not centred at 0.