Added preserve-3d and gradient values