Update tep_* to osc_*

Updates all tep_* functions to osc_* functions, also TEP ERROR to OSC
ERROR