Implementation of GF for DOS Calculation