add nscoding for SHmodel
Merge pull request #2 from ndduy/master

add nscoding for SHmodel