fixed bug in texture fetching

The imaginary part of cusp::complex<double> wasn't assigned correctly.