Finished implementing infer_mean_fast for shore reference sequenses (to fit breakdancers model)
GapEst still needs to be modified for this if needed.