https://georgepavlides.info/matrix-based-implementation-neural-network-back-propagation-training-matlab-octave-approach/
Matrix-based implementation of neural network back-propagation training - a MATLAB/Octave approach