Added missing function to dft.h. Made pft.test accept arguments setting N and N_per_proc.