Implemented gaussian kernel and spam pre-processing