Fixed some rst tutorial issues