Explanation of calculation to determine project total gain