remove commented out code, fix typos in documentation, rename da to var in dataset reduce