Error calculation: fix due to changing all spaces in variable names to underlines