Some improvements to the pitch period estimation