Bug fix for Euler solver

Found by Michael Loiten and Jens Madsen. Output lagged one time-step
behind the simulation, due to variables not being updated.