Some pylint and spelling corrections
Added imports from future to clean up rounding code and some better regex