a fair bit of reorganising

- densities are now structured sensibly
- hatze's results are included (somewhat)
- almost all global variables are eliminated
- results are only printed when necessary
- plotting can be disabled
some calcs copied from tony
tidy
killing time