Self-consistent computation of electronic and optical properties of a single exciton in a spherical quantum dot via matrix diagonalization method