added capacitive tuning word binary search function