training and testing, gabor filters