Added plots, working version, just needs some tidying, although still getting negative values for normalised a