this should be improved in the general case, as we are not sure the variable will always remain at index 1

112

merge this case with the general case: DRETURN must always be changed when the function signature changes, and the change is either converting DRETURN to ARETURN, possibly with a prepended call to convertDoubleToDerivativeStructure before the ARETURN when stack0converted is false