Density Functional Study on Enhancement of Modulus of Confined Fluid in Nanopores