Numerical Calculation of Electronic Structure for Three-Dimensional Nanoscale Semiconductor Quantum Dots and Rings