Trajectory: remove initialFrames from class, pass in read() function as arg