occam2d: major bug fixed - frequency indexing in case of pre-determined frequency subset (by min, max, or number)

Signed-off-by: LK <LK@uni>