Added more flexible H(k) reading
bugfixes in hk_converter
added test for hk converter