Modified to work correctly with CDataArray.  Some cleanup.  Possible Left Right edge swap somewhere...