hac function has 6.67 score in pylint
Pylint score 4.2
Weights is now a function of moment restrictions, not parameters