Added calculation using spherical law of cosines.
Added equirectangular formula.
Add polar co-ordinate flat-earth method.
Added simple check to determine if the calcType is one of the allowed types.