setMatrix & getMatrix, for synchronizing transformation matrices of multiple canvases with canvas_wrapper