Fix typo in manual and make sure that index is an integer in GetPosterio...

...rMeanVariance.m