checkCoords function

checkCoords: function used to check coordinate names.