The Composition of Rocks: Mineral Crystallinity and Bonding Types