SMS dit: Impedance Spectroscopy Sensing Material Properties for Self-Tuning Ratio Control in Pharmaceutical Industry