add option to compute error estimation only for final time. By default, as it was done for now, compute error for each time step