reg_dir is now defined as an argument

Prior to this it just took the dirname of the MPRAGE directory but I
don't think that's as flexible as you'd think if you have longitudinal
data etc, so now you just pass a reg_dir variable to the script itself.