get_algorithm function

Get the algorithm used in a Stan model fit