Modelling size segregation of granular materials: the roles of segregation, advection and diffusion