Finished encapsulating stimulus code. Need to rename predictor :/