Week 3 programming exercise update to code and manual.
Fixed a typo in the IR distances function.
Fixed typos.