how to measure cyanide in plant