Some functions written for registration.py fit_toolbox.py
More fns written for fit_toolbox, registration