Coursera R Programming Matrix Inversion Coursework