I am trying to compute the gradient ascent of a likelihood and I don\'t get what I am doing wrong since the cycle doesn\'t work... Does somebody know how to solve this problem?