newExpression now infers matrix type