added autopilot functionality.
also stubbed in matrix transform.