Two small fixes to Gretl and Mahalanobis noise detector.