Simulate micro-magnets dynamics