Making it work and allow user to choose what type (double vs. float) to choose for FANN --kazu