fixing the hour coordinates used in get_sun