Change of Variables for differential equations