Fixed some minor typos.
More typos
Matrix functions

Programming assignment 2