Calculation of pore size from adsorption data