Added location util stuff

To add: with fix for degree/dist oversight