Functional data analysis with multi layer perceptrons