Implemented the feed forward functionality of the network. #5