added material class usage examples. moved some matquery motivation paragraph to motivation section