Fix subtle bug in MATLAB sample saving.
When you are saving on a reject step it will save the last
saved+accepted sample. It should be saving the last accepted (but not
necessarily saved) sample.