got wavelet working on 3 axis in project test2, now refactoring code in test3