Extended-phase-space isothermal molecular dynamics: Canonical harmonic oscillator | Synapse