I'm not sure if the transpose in `coords.T` is necessary. Each row of `coords` now represents the coordinates of a single point. From glancing at the `format_coords` code I think that might be what that function expects.