Implemented accelerated gradient descent, but it's not working: to debug!