Matrix/Vector Operations for 2D/3D Graphics Library