Reintroduced isargsecondarysource.
Added handling of x0=[] to plot_wavefield