Replacing Perceptron model with a GLM adding a Gradient Descent Learner
moving CompactIndex to math