Finite Element and Spectral Element Models of an Adaptive Magnetorheological Sandwich Beam