Freeze external nodes

External nodes are now frozen to their past state or present state for
backward/forward distribution respectively.
Most important change in comp_pers_cpt
Everything else just to accommodate past state in program.