entropy function for Wishart distribution

tests and little refactoring