Fixed some arithmetic errors in Combiner and Variable.py