Added some simple rpn functions and the corresponding documentation.