fixed typos and refactored efficiencyfactor plot