update deps, fix up core.matrix implementation for latest version