MAINT: some docstring fixes and style cleanups in stats.mstats

After-sprint travel commits, so nothing here that requires much thinking.