Classification of stones and minerals by origin and size