Added dwt! method that improves the performance very much.