Spin-torque devices with hard axis initialization as Stochastic Binary Neurons