Playing with mpc

I wanted to play with a few mpc-style examples early to shake out the interface.  it's pretty satisfying (albeit slow).  here are a bunch of small fixes, nips and tucks, and updated interfaces to support those tests.
that's reasonable.  i've made the change (but called in reconstructInputTrajectory instead)