The last term in the input_dft string (enforced case) could not be read due to a small bug in funct.f90