Sampling support

Moved signal choice logic to new function to allow a full sampling of
the probability distribution for individual agents. Should speed up
measures.