fixed phase folding bug and option setting bug
updated plots