added explicit mpi calls to test if this fixes issue with non-termination and also fixed threads > processes issue with previous test setup. Started to rework code for graphing