Added a linear model for non-binary vars #90