parsing input and setting up neural net. input parsing for training and testing also
functions to macros, changes scope of activation function