A coordinate free distance geometry approach to the GPS and kinematical computations for general localization