SINAD reading correct values, added THD logic