updated rpn calculator