mdot: fix typo: "1-D" --> "D-1".
mdot: use proper RST markup.
mdot: don't create a copy by using ravel.