         
         delay(15){
             self.exportToText(currMatrix: self.dataMatrix, action: self.actionType)
+            self.actionsLog = self.checkOutput(currentActions: self.actionsLog, newAction: self.actionType)
+            let ind = self.actionsLog.index(of: self.actionType)
+            if ind! == 0 {
+                //This is the first misc action
+                self.miscActMatrix.append(self.dataMatrix)
+            } else {
+                self.miscActMatrix[ind!] = self.dataMatrix
+            }
         }
         
     }

    var trainAnswers = [[Float]]()
    var testAnswers = [[Float]]()
    var guessMatrix = [[Float]]()
    
    // MARK: init
    

    var bootTestDataNum = 20
    var bootStepSize = 10
    var ptsPerData = 100
    var testStartPt = 0 //placeholder. Calculated once view init.
    
    //Number of possible actions the app will recognize
    var numOfActions = 2
