Modelling of confinement potentials in quantum dots