https://olinjohnson.github.io/posts/neural-networks-part-2-neuron-code/
Neural Networks Part 2: Neuron Code