Determination of Investment Cost Functions of Water Treatment Plants