Add core.matrix lib