Fixed types/errors in 2d chapter
Merge pull request #4 from timcooper/master

Fixed typos/errors in 2D chapter