A dynamic water quality index model based on functional data analysis. (October 2015)