Implemented ( with bug )

always converges to 0.5 for every value