Fully connected neural network with backpropagation written from scratch in Swift, on Matswift (2017).