Adam's corrections to wham from homology branch