Fully finished layer size independent forward and backward propagations
succesfully trains the neural network to predict for one of the three types