Update matplotlib to version 1.3.1.

I added a licence field as discussed in
https://groups.google.com/forum/#!topic/hashdist/aJQkqm9hZZw

Matplotlib has its own BSD-compatible licence as of 1.3.1. It's not a BSD licence though so I called it "matplotlib".