A few fixes and np.argmax + npx.indices binning improvements
A bit more refactoring into analyses, more npx helpers