ANN-based virtual sensor for on-line prediction of in-cylinder pressure in a diesel engine