Derivational Complexity is an Invariant Cost Model