Add registration.py
Add shebang to registration.py
Begin joint entropy function