Monte Carlo simulations of submicrometric devices