Spin Injection and Voltage Effects in Magnetic Nanopillars and Its Applications