optimized mix()
optimized the inverse functions. There's still a 20% to gain compared to glm's implementation, but getting there.
some more optimization