More cleanup and docs

Code review feedback
Added a few more doc strings
Code review feedback

Move generateSensorimotorSequence to abstract_agent
Some other minor changes