fixed threshold problem in BounceAlongPathWithThreshold, still not getting critical temperatures correct