Nonlinear time series model for shape classification using neural networks