Fixed bug in moving transform; simplified interface
Fixed another bug in moving transform