The Analysis of Organic Matter in Ore Deposits