switched gabor function to normalized units