Text this: Medical Image Registration with Fourier basis Functions