Test program for the gradients of Hd and the Largrangian added to the test program.    Increased the length of all filename strings from 72 to 255.  Code clean up and structural optimizations