added plotting code, corrected xsections