Update core.matrix dependency