Chemical Composition and Structure: Linear Algebra