npytodcd accept now 2D traj.array (nframes, natoms*3) or 3D traj.array (nframes, natoms, 3)