Reimplement Wishart and InverseWishart: allow the use of general pdmats as arguments

as title