Added the possibility to replace the transformation matrix of the selection.