https://medium.com/@monocosmo77/how-projected-gradient-descent-works-part1-artificial-intelligence-226a50e78d9