Added text output for min/max/avg/stddev in PDF
Re-aligned pdf output
Error handling for input dir