Merge pull request #1170 from votjakovr/develop

Fixed recomputing of posterior parameters