Stochastic gradient descent (SGD) in R Visualizing how SGD works with Shiny…skiing down derivative valley