issue #36: use int rather than long long in critical particle loops
Merge branch 'library-fixes' into alec-library
issues #23 and issue #33: using one preallocated Moments instance per thread in interpP2G()
Merge branch 'library-fixes' into alec-library