A general program for the simulation of Gunn-diode microwave oscillators