Source: http://mstfgacspo.weebly.com/uploads/2/8/2/6/2826253/discriminant_mat_4171.pdf