add neural network trainer

add generatedInputs.h to tests