Adding spherical-harmonics evaluation ...

Adding spherical-harmonics gradient evaluation
from the contributing terms.
+ Output vector rotation from spherical to geodetic
coodinates.
+ Code minor code refactoring.