removed changing of x and z values in 'getLocation' and 'getReverseLocation'