improved the inverse algorithm and extended its use to Matrix3