Fixed up multiply, more examples in doc, other goodness

Sorry for the ugly string concatenation in multiply--I ended up following that approach to try to preserve the nice format replacement syntax available in the package.

This pull request replaces an earlier one; most importantly a bug in the new multiply code was corrected and some more documentation was added.