how to measure cyanide in plants