Updated diagnostics code
Merge branch 'master' of https://github.com/SPRFMO/jack_mackerel