Fixing weight calc
Merge remote-tracking branch 'refs/remotes/origin/master'