Fixed DWT algorithm, removed useless documentation