fixed a bug in 4x4 matrix setter, added quadratic polynomial