Added number of non-network wells to penalty function and penalty constant argument