Statistics for Optimization of the Anisotropic Gaussian Kernel for Text Segmentation and Parameter Extraction