Fixed bug of measuring positive and negative pulsewidth in test harness. Need to fix for actual SM.