Change license to MIT
Add from __future__ import division to all files
Fix matplotlibrc warning