Use new functor type for wave solution of LLG

* This lets us have damping and dim auto detected from the problem.