modified wrap-generator to work with numbers, sequences, or functions
updated find-points so that it will work if time value is earlier than first point
implemented mask function
implemented quantize