Effects of size and shape on electronic states of quantum dots