Backpropogation algorithm in Akka