Raise error if the locations list has the wrong length

Raise `TweepError` instead of `AssertionError` when the list of location points has the wrong length.