Corrected theta generation in hrv generator
Phase generator