chg index to the following
    3         3              2       4
D[2n+1]0 = X[2n+1] – 0.5( X[2n] + X[2n+2])
4        4             3        5
A[2n] = X[2n] + 0.25(D[2n-1] + D[2n+1]