Fixed problem with parameter check in Wishart