understanding the expected value of perfect information formula: a complete guide