Implemented extending T(i-1) to T(i).

Added Update, and SplitEdge functions. Also added function declarations.