Stochastic Pi-Machine (SPiM)