Analytic Derivation And Minimization Of Line Edge Roughness In Electron-Beam Lithography