removed dangling k and some empty lines
Merge pull request #298 from jakoch/patch-1

removed dangling k and some empty lines