updated tutorial.

Closes #20