Filled in neural net functions with Eigen library.