improved logdet, added wishart and invwishart