rmoffset function

Remove the offset of a time wave