Inelastic electron scattering cross sections using a finite nuclear well