fixed three off by one bugs in calculating the meridian/antimeridian