Fixed pep8 issues with statistics methods.