Add data caching check
If all user inputs are the same (and the data is the same), don't rerun the sampling steps, just return the results.
If all user inputs are the same (and the data is the same), don't rerun the sampling steps, just return the results.