Fix mostDeviant to conform with function signatures
Merge pull request #279 from mleinart/fix_most_deviant

Fix mostDeviant to conform with function signatures