fixed gradient descent iteration number issue, and modified alpha in testCode