Completed forward pass for the feed-forward-network.