I went through the UDAPDR code and fixed some bugs to make it easier for anyone else to run the code. I'll create a PR and link it to this issue.