kmatrix - fix for copy constructor