added gaussian preprocess