Converted Matrix3 and Matrix4 into structs. Updated all usages appropriately.