check_coords_for_error function

Validates location coordinates