remove the insane formulas copied from Wikipedia
start wiring in the wieght-modification mechanism
A basic workig algorithm