AtlasState should replace manip portion of state

Resolves #17. Instead of overwriting the entire state/output frame, we
now modify the multi-frame created during the tsmanip `compile`.
Replace `getNumStates()/2` with `getNumDOF()`
Merge pull request #21 from avalenzu/fix-Atlas-examples

Fix atlas examples