Added sample calculation to tutorial.