a bit of maintanence work in stats

closes gh-2741 and gh-2871
also remove a couple of unused and duplicate attributes of distributions.