Dynamics of a chain of permanent magnets. (18th February 2015)