update to latest core.matrix
fix new-array construction