ncon works except for outer products. state file updated to use this