Added distance metric to compare PDFs.
Added tests for PDF.
Add PDF to wrapper scripts.