A distribution function approach to rainfall runoff modeling