Numerical calculation of electronic states in ellipsoidal finite-potential quantum dots with an off-centered impurity