Change to tools.check_points for 1d arrays

Had to add in an extra loop in case the input locations are 1d arrays instead of 2d.