Making FFT work with MultiScalar.
Added tests for multi-scalar.