modified calculateStats.py to account for changes in WeightedRegDom.py. need to move to corn to check changes in WeightedRegDom.py