added output operator for Vec4 and Matrix
replaced custom Matrix classes with static matrix functions, adjusted code, added modelView Matrix stack to glContext