Using lower case ```k``` for all ```k``` usage

Tiny change ahead, but I got confused by see the mix of ```K``` and ```k```. I suspect that lower case ```k``` is preferred