Fixed indexing bug
Updated tutorial