Add 2D transform and complex numbers to handle rotations
Signed-off-by: Karang <arthur.hennequin@free.fr>