Microsimulation and analysis of income distribution