Update FrequencyGenerator.py