Fixes bug when data only has one covariate and adds examples.
Fixes bug with entropy producing NaN.