Kohn-Sham solver in 1-Dimension. - Warning - contains errors!