Code for an artificial neuron, simulated as realistically as possible but with efficiency-based simplifications