added matrix mult to test