Replacing old WHAM code with Jeff's WHAM code from SMOG.
Working on WHAM tools