Matrix differential calculus with applications in the multivariate linear model and its diagnostics uri icon