Fix the bug of Prior probability. The sum is exactly one now. Thanks to Xu Yafang for figuring it out.