Applying HMM

attempt1 is applying the bayesian model to the  meta dot data. SDT_MLE
is a script that is meant to estimate S for me, so that I can add it as
a parameter, but I haven't been able to access that output for some
reason.