DCT working
Edges needs matrix transposition