Fixes InverseWishart correction factor and many other things