addecd center_coordinates method to traj
Added test for center_coordinates
fixed merge conflicts