Added core.matrix dependancy.