Creating vectors from the FrameHashCache was one of the slowest functions in the program, this should be significantly faster.
Also added tests to ensure rational NaN behavior is tested.