Probabilistic methods for modeling decision-making dynamics and identifying structure in neural datasets