cleaning up predictorcorrector and euler