Fixed pep8 spacing issue and floating point doctest issue