fix for issue #149 - DivideByZero exception in linear-model
Merge pull request #153 from cdorrat/master

Fix for issue #149 - DivideByZero exception in linear model