Tweak to .travis.yml to fix MPL display problem; fixed some math in the docs