Added choice of training error function of ANN instantiation
Merge branch 'master' of https://github.com/gasagna/FANN