created method that returns a specific minor of matrix