minor typo: weights
Merge pull request #4 from squarism/master

LGTM thx