Design of a linear Halbach magnetic damper