Improved the pitch tracking mehtod