Sped up Frame2 calculations by allocating fewer objects during
inverse/transform.