Silica-based optical-matrix switch with intersecting Mach-Zehnder waveguides for larger fabrication tolerances