Fixed first layer to not use weights and sigmoid, added trainingVal