update core.matrix dep to 0.4.1