Fix tutorial examples

Closes #525
I've seen problems like this in other places.. maybe we should just avoid re-using `self.data` for multiple purposes?