Correct Way to Compose ReverseDiff and ForwardDiff

Related thread: