Fixing an array small issues raised by Ingrid during testing.
Deleted unwated debugging
Merge pull request #168 from nla/ingridsbugs

Fixing an array small issues raised by Ingrid during testing.