Fix chances calculation
Fix Bugs in Pathfinding