Small fixes in retinopathy use case.

Change to table instead of materialized view to accomodate Orange.
Fix old references to sample stddev into population.
Fix lingering wk_to_t0 into days_to_t0.