Added Python 3.1 and removed matplotlib instal from Travis CI.