revert "improve exception for matrix#inverse"