Frame mapper almost complete, working for N_P2 = 1.