Added functions to compute the scattering phase space.
In addition, bugs in the DOS and DOS2 are fixed.
Fixed the filename of TDOS from .dos2 to .tdos.