Ad derivative to Gesture.toMatrix()