Advanced Diagnostics for Magnetic and Inertial Fusion