Update dependencies, remove unused matrix lib