Optimisation of Water Distribution Networks