fixed sort bug
refactored internals to use ngramlist (formerly ng_arr) to better manage argument lists
improvements to summary method