Some refactoring and improvements to gobal motion

To facilitate further experiments.
Fixes border, uses standard interpolation filters for
translation only global model, and some refactoring.

Change-Id: I38af6cb83723f92baed23e28d7fc9a0a9544757e
4 files changed