Tweaking my euler solver