Make dielectric constant a command line optionand make its code less verbose