Fixed mistakes in the tutorial after peer review.