added matrix explanations