prior mean bugfix

Prior means weren't being calculated correctly.  Fortunately, they also
weren't being used for any other calculations, only reported in the statistics
for users.