Stochastic-Based Computing With Emerging Spin-Based Device Technologies