Pendulum and Magnet models
Add CommonFunctions. PendulumModel gpu_source.