fixed some bugs / typos with new scale factor code
more fixes for bwscaling ban from npksum
Merge branch 'master' into npRmpi