Fixed argument order
Moved activation related functions to their own header file
Added a basic general feedforward network with explicit gradient func