Raise NotImplementedError for unequal frequencies. Fixes #7884
Merge pull request #7885 from debugger22/ne-f

Raise NotImplementedError for unequal frequencies. Fixes #7884