Change output directory for PDFs.
Fix bug in cycle removal function where the end values were untouched.
Fix bug where round-or-not-round parameter was not passed.