Removed unused variable 'nd'
Added references
Merge branch 'master' of github.com:tvwerkhoven/libunwrap

s necessary,