Added power chart and bar power spectrum chart. Also refactored a little.
Might not work but probably should.