Optimal array multimode signal processing in the presence of modal mismatch