Update Q3 of Application 1 to use provided code for DPA trials
Correct pylint errors with autopep8