eb_hmm.m: fixed NaN correction when calculating prior mixture weights