applied fix to ols model
  • bug:
    • if input was constant, adding the constant for the linear model failed. This is corrected now.