Added AMSMATH package
Fixes when duplicate hex or multiline base64