update to parallelization
working npt mc code