Finished updateNetwork, have to fix fit and trainNTimes.