updated mathematical calculator