a Comparison of Harmonic Confinement and Disorder in Inducing Localization Effects in a Superconductor