fixed pep8 error for  klm.py