Test and fix the discrete version of CAmong.
Rewrite CAmong to support both continuous and discrete restriction
Continuous implementation of Gather