Fixed a double addition bug in the calculator