First Attempt at Matrix Inversion for Programming Assignment 2