Noncommutative complete intersections and matrix integrals