Completed R function for matrix inversion