mem free update after thread calls
updated parameter list for fft
added debug outputs to device init
fixed memory access error
added debug outputs to task run