numerous changes, added sphere based porosity est method