add core.Matrix