Wavelets implemented. Error with removing points. Weak compression. TODO fix by removing p% from cumulated details, not from each