Text this: Efficient optimization for practical characterization of linear optical multiport devices.