Tweaks to make plotting work
Fix env_corr method

Use of logistic regression was incorrect. Now converted to OLS with
diagnostic plots.