Fix K shape.
Merge pull request #1 from russelg/fix

Fix K shape.