------------------------------------------------------------------------------
 Purpose: Converts a multilayer wavefunction in a psi/restart file 
          to an equivalent MCTDH form. Default is single precision.

 Usage  : ml2mctdh [-f -i -o -r -stp -n -skip -w -dp -ver -h -?]

Options : 
 -f FILE : The wavefunction is read from file FILE rather than from ./psi
           The string FILE may be a relative or a full path-name.
 -i FILE : Same as -f FILE.
 -o FILE : The output is written to file FILE rather than to ./psi.mctdh
           The string FILE may be a relative or a full path-name.
 -r      : Read and write restart files instead of psi files.
           This automatically sets -dp.
 -stp step: Compute the exact WF only every step-th output.
 -n num  : only the first num WFs are read  from psi-file.
 -skip m : the first m WFs are skipped.
 -dp     : The file is written double precision.
 -mstate : A multi-state psi file is written. 
           Only makes sense if the top layer has *only* two logical modes 
           corresponding to the system and electronic degree of freedom.
 -w      : An existing output file is overwritten.
 -ver    : Version information about the program 
 -h      : Print this help text. 
 -?      : Print this help text. 
------------------------------------------------------------------------------