Minor editing to codes, file names and rearrangement

Pi is now calculated more neatly and plotted in a test. LDOS and
diracsolver now save the DOS array with intelligent names.