Spin-torque-driven MTJs with extended free layer for logic applications