Grouping of Objects Using a Limited Number of Parameters Characterizing Geological and Physical Properties of Layers