Fixed range of latitude

Latitude should only go from -90 to 90, unlike longitude which ranges from -180 to 180.  A simple solution is to just divide latitude by two.