Rename isum->nsum
Intsum -> nsum, change to 2 min len, add fdim param to NSum