Added python preprocessing and visualization