edited function color_geodesic to get around numerical errors in drawing
modified definition of geodesic to fix numerical rounding error (angles in Xlib are integer multiples of 1/64 degrees)