Dev

Subtract the threshold from the weight. Put this back in. It did not cause any bugs.