working in 1d 2d and 3d but it is missing evaluations quite a bit