Minor changes in the implicit euler