Add and report range errors
Merge pull request #79 from danielrichman/rangeerrors

Add and report range errors