3DDWT in C, WIP