switch to parameterized DifferenceWeights class
Merge branch 'master' of github.com:mjp2ff/aid