moved MPI_Bcast to correct location, appears to run as desired