Net foreign inflow to stock market tops Rs.4 Bn mark