Matrix Algebra and Partial Fraction Decomposition