Reverse Monte Carlo modeling in confined systems.