added funcs to compute speeds and to get the total number of slinky interactions in each time step