Added setTransform and getTransform functionality.  Not tested yet, but it compiles OK.