Move method from LearningLiteralRegression to LearningLiteral
Merged with new Instances implementation from Albert with code fixes.