Check it over. The problem was that I foolishly forgot to extend the raw data raneg BACK one column as well as FORWARD one column. All the NR's are (hopefully) OK now.

Apols. Must be going senile.