Clark and Wright Algo done