stores max errors instead of mean errors in time; fix a bug in case of full dirichlet (velocity)