cache matrix inversion

removing message to the console