Changed differences to sums to compute simple roots