Fix bug in damped wave solution

The solution is for the ll equation, so we need to rescale time in order
to apply it to the llg equation!
Add factory for periodic triangular square mesh