benchmak alternative for Matrix3 determinant and inverse