Merge pull request #18 from openworm/master

Updates from openworm
Cleaned up example code
Merge pull request #78 from JimHokanson/master

Cleaned up example code