Update kn.cpp

Easier readability