Changed the initialisation of theta parameters to occur during the beginning of the training function, not at initialisation. This allows for proper retraining of the same NN object.