Solar Geometry 2 (SG2) is the second generation of library for computing the relative position of the sun and the earth.