Update to latest core.matrix 0.13.1

Update an minor fixes to track slightly changed semantics in latest core.matrix release.