Added diagnostic output functions
Added some diagnostics to the output
Added some fit diagnostics