Average solid angle (and geometry factor) by a Monte Carlo Method