matrix inversion stub filled out