Algo implemented, but weird bug...
Weird bug squashed, new version of the update algorithm
Removed bunch of old code + small bug fix