Class of Exact Invariants for Classical and Quantum Time-Dependent Harmonic Oscillators | Synapse