The Matrix Perturbation Method in Quantum Mechanics