Advanced Magnetohydrodynamics: With Applications to Laboratory and Astrophysical Plasmas