Start to implement the Fill method of the ndhist class.