Explanation of single slit diffraction problem