Diagnosing peripheral neuropathy