I think the code would be simplified if, e.g., `RFFKernel`s contained `freq` and `phase` as fields, instead of separately passing them to `perk`.