Added version check for values.
Added version check.
Added more version checks for fourier transform functions, and corrected the comparison.