Docs

Fixed a couple of incorrect Python api calls in the tutorial.