Making the predictionArray an instance variable of the ViewController