Added WE code and start of visualization; reorganized mcsampler