implemented NArrayDouble resizing.