Fixed everything so multiple computers should work with mpi