Replace kmMat4Inverse with a much MUCH faster implementation adapted from MESA