Finite element studies of quantum dots