Commit to new version of goc script
Restore clock frequency on EIN/GOC transitions

The EIN and GOC interfaces share a common clock. The library should
abstract this from the user, so we save and reload the clock frequency
setting transparently.