Spin-transfer torque induced reversal in magnetic domains