Update ctfLKof.cc

Fix bugs in line 191/192. 
Thanks tpys.