Corrected upscaleNetPorosity-method