The calculation table now properly updates when new input is given