Implement sin() and cos() pre computations cache.

A pre computation cache has been implement for the sin() and the cos() of the declination or galactic latitiude. The values of the cache are used in distance computation, speeding up the repeated usage of the dist() method.