Solution of Homogeneous Systems of Linear Equations Arising from Compartmental Models