added funcitonality to generatenanoporoussystem, vol,dens,nparticles