another 2x speed improvement of simple dct by simply changing a datatype