Finished workflow for TOPUP

Also, part of the ApplyTOPUP has been refined