Added Mat2d.create to generate Mat2d from position/scale/rotation. Added cfg to GameObject constructor.