Added better counting of energy branches and printing to file. Added reading and plotting methods as well.