umbrella sampling codes for npt ensemble