Magnetization dynamics driven by spin-polarized current in ferromagnetic nanopillars – A computational study