updated logistic adagrad
added fft2 and ifft2
fixed complex double matrix fast fouier transform, convolution should almost/is working
valid mode works
fixed issue with convolution 2d valid
added check for setting the slice
fixed tensor tests