normalize tranformation matrix cells by Km rather than m. It fixes issue #19