Design and test of a thermomagnetic motor using a Gadolinium rotor.