retained original new_oscil function and added new_oscilp function with phase offset argument
Merge branch 'wave' into develop