Collected Fortran and C codes to read RPN files