added matrix api (just mult by now)