Modelling Longitudinal and Spatially Correlated Data