Magnetization reversal using excitation of collective modes in nanodot matrices