Kolmogorov superposition theorem and its applications