added getLinearWeightsModel()