fixed most of the tests. Fixed a bug in Material::extractComp. Created MatQuery class and used it to fix bug in Enrichment class