Switching from two components (x-, y-polarization direction) to arbitrary number of components of external electric field(s).
Really many (but minor) changes, scattered over many places in the source files.
Most importantly, variable time.efield.n_polar stores the number of polarization directions (components of E-field).