Calculation of effective Coulomb interaction in PrCoO3