Singularities of functions, wave fronts, caustics and multidimensional integrals