fix state prior bug
state prior bug fixed
convert vector to formatted string
split casino example into plotting and generate data functions