replace nr code for data structs and matrix manipulation
Authored by: levans 2006-05-18
Parent: [r282]
Child: [r284]