changeCoords function

changeCoords: function used to change coordinate names.