Cost Considerations and General Principles in the Optimal Design of Water Distribution Systems