Changed licence and modified RPN.c