Fixed documentation

The example as is wouldn't work as the variables are defined differently
Merge pull request #35 from iamwolf/patch-1

Fixed documentation