commit #6

fixed a bug in the coordinate system
latlon_to_grid() function