Transpose secondary source positions

This way, arrays of coordinates are easily iterable.

Also: use np.squeeze to make sure input arrays are one-dimensional.