added d-wave pairing symmetry; fixed a bug in the main that caused all mpi processes to create the output directory (it is enough if only master does it)