Calculation of the energy levels in {InAs}/{GaAs} quantum dots