Minor of a matrix: Definition, Formula, Methods, and Applications