Simulation of database-valued markov chains using SimSQL | Synapse