fixed compilation of some samples; fixed ANN_MLP::predict