add K and M default variables
Merge pull request #1 from arafel/add_km_defaults

add K and M default variables