On the modelling of correlation functions for rainfall studies