Refactored to use Python3. Improved default plots.