bumped core.matrix to latest version; minor changes to make expresso work with the new version