Three-Terminal Device for Realizing a Voltage-Driven Spin Transistor