     }
     
     @IBAction func trainNNBPressed(_ sender: Any) {
+        currentAppStatus.text = "Training NeuralNet"
         self.trainNN(nnet: nn, structure: structure, wTrainMatrix: walkTrainMatrix, wTestMatrix: walkTestMatrix, sTrainMatrix: standTrainMatrix, sTestMatrix: standTestMatrix)
     }
     

    //      and train matrices have been created
    
    func trainNN(nnet: NeuralNet, structure: NeuralNet.Structure, wTrainMatrix: [[Float]], wTestMatrix: [[Float]], sTrainMatrix: [[Float]], sTestMatrix: [[Float]]){
        currentAppStatus.text = "Training NeuralNet"
        
        //Create the output train and test answers
        let sTrainAns: [[Float]] = Array(repeating: [1,0], count: bootTrainDataNum)

                validationInputs: allTestData,
                validationLabels: allTestAns,
                structure: structure)
            try nnet.train(nnDataSet, errorThreshold: 0.004)
            //print(nnet.allWeights())
            currentAppStatus.text = "Training Complete"
        } catch {print(error)}
        
