Supervised and unsupervised learning with numerical computation for the Wolfram cellular automata | Synapse