Fast Orbit Stabilization for Proton and Heavy Ion Synchrotrons & Digital LLRF System for Medical Accelerators