Undo folding projection with (+,-) polarity at EDGES
extra = endfold(Which,xc,bp,bm)
string, 'left'/'right', indicating Which edge we are at
unfolded data, center window, produced by unfold
interior of window
exterior of window
extra contribution to central packet
The result should be added to the central packet to ensure exact reconstruction at edges.