has xxx(j) = -xx00 + (j-1)*delta before delta is defined...
has
xxx(j) = -xx00 + (j-1)*delta
before delta is defined...