Cooling of a mesoscopic single-particle harmonic oscillator using real-time digital control systems