bug fix in drawK
(#297)
Merge branch 'master' into #305