jergason/Tolmey — pull request #9 by coolaj86 (2011-12-13 19:26:32+00:00)
Title: RADIUS_OF_EARTH_IN_METERS now a module-level constant

I was having NaN issues and it turned out to be one of the `this`s being one that doesn't have a RADIUS_OF_EARTH_IN_METERS. Changed it to a constant: BINGO. It works.