DOES NOT PASS TEST: Trying to implement Solver.solveByFrequencies