Add DN_min and DN_max options

Also fix bug in calculating limits for minnaert_full slopeclass when sampleindices are not provided.