Fixed problem of output by making all processors write sequentially, appending their info instaed of passing everything to one processor
Fixed some ordering of the way things were writing in the udpated write_field subroutine