add core.matrix to dependincies