Fixed bug in Gabor wavelet that appeared with power_of_k != 0