In the middle of big refactoring. Got rid of SLearner class. Made SLearner data type. Need to make my code style consistent. Keep going back to change things. Adding a lot of comments now.