BackendLocationModel::getCoordinates() function added to remove duplicate code

* This removes duplicate code.
* Adds a function that can be used by everyone in every other module.
This shouldn't be here