fixed regression which broke generalized nearest neighbors npreg
made kernel_weighted_sum_np more sensible in the way it accepts bandwidths,
in order to prevent future bugs
Merge branch 'master' into npRmpi