removed double initialize
added write_diagnostics switch
Merge branch 'master' of https://github.com/j08lue/hpcompassignment