harmonics.py tweaked