Added random matrix to inverse