Updated distributed network optimization algorithm. Added tolerance input.
Merge branch 'art' into develop