Functional Modelling and Classification of Longitudinal Data *