Cleaned up the Makefile a bit.
Added a typedef for the neural network base data structure.