Modeling of structure and porosity in amorphous silicon systems using Monte Carlo methods.