I have updated SLGirshickBayesLookupTable function.
I have improved the code SLGirshickBayesLookupTable.m
Two cases were not properly handled by the code
-1) when two different measurements produced the same MAP (because of prior strong attraction).
-2) when a same measurement produced two different MAPs (e.g., if posterior is bimodal)

The first case was handled but not that great. I was averaging the likelihood of the two mi that produced the same MAP given displayed direction. Law of probability says we should sum them, see code for derivation.
I had not thought of the second case yet.

I tested the old and new code with reasonable parameters (from previous subjects fit) and I could see no qualitative difference in the model predictions

I have added a 'FatTailPrior' options that allows fitting a new Bayesian model with Fat tail prior