added some stuff to matrix4.cpp