I know the Lorentz matrix for a boost along any of the Cartesian axes. But, since all the components of the magnetic field has changed in the frames, the boost is along an arbitrary direction, rather tahn a particular axis. How do I solve the problem in this case?