adds comments, minor functionality, and an example for the course notes

to be included in drake v 0.9.7