Imposeph and ConstrainK now working in 2D