fixed tri to saw transition, not phase corrected yet