matrix works for one shape, I dont know how it works for multiple ones though...