fixed bmp api, improved dft_2d ... though still seems to be broken