Modified skeleton file to match Week 3 assignment.

Coursera Week 3 assignment.  Modified two functions according to
provided code skeleton to create cache-able matrix inversion function.