added 2d dft + bmp api (TESTING - may break!)