Updated oscillator.py to comply with new api

Notes:
*currently assuming that functions passed to make_node take time as an
input...this is subject to change over to Terry's generator scheme.