Re-fixed history

So, if the prior_params was a cell containing some large values, it
could turn into a big problem, memory-wise. Modified the to allow for
the returning of the final prior params and now have history only
record the “changing” part of the prior_params cell structure.