Error calculation in all functions, plus a new build.