update to latest core.matrix