Implemented the rtof output files and fixed issue with normalization plot yi.