Adding GPS related utility functions that will be ported to Go