Stochastic Analog Computation For Machine Learning