make transform capable of output in separate quaternion and translation