Numerical analysis of fast switching induced by spin polarized current in spin-valves