Fix #9: fann_train not working