finally implemented determinant for mat4, based on the intel inverse routine