Update and rename HW5 to HW4

Fix the problems with number 2.  Calculating the inverse matrix correctly now.