New: average_weight subroutine and its tests Fix: pcapa_spec is now averaged Fix: calculate rho_tot the same way pcapa is done by using 1 - poros_net instead of 1 - mcs