Computing with Arrays of Bell-Shaped and Sigmoid Functions