Matrix Differential Calculus With Applications In Statistics