1) refactor 2) implement yinvKyChol 3) add more tests