will test performance soon
added center of box function
fix type conversion
multigrid seems to work in 2d :)