Value Function in Frequency Domain and the Characteristic Value Iteration Algorithm