use latest core.matrix