parameterized curves, and added a parameter to wafr to select between position and trajectory playback.