A Family of P Systems for Solving Linear Equations