redo im_wrap() as a class

incorporate im_rotquad() as an option too