KMatrix 1.2: initial commit and adding to autobuild