I\'m doing vectorized gradient descent with a constant and a slope and it is taking longer than I expected. Also, I don\'t want to use a library right now because I want to