Template:3-ary Boolean functions; complements in 8-element secs in a cube