Quantum Control Of D-Dimensional Quantum Systems With Application To Alkali Atomic Spins