2d solver using r2c and c2r
Added 3d example