new implementation of InverseWishart