set & get transformation matrix of a canvas

Extending canvas_wrapper a bit so that it can be used to keep multiple canvases synced. In my case we have multiple layers of canvases on top of each other - for which we need to sync the transformation matrices.