Compared results of BLOCK_HAAR_sequential to matlab: same results python only does one iteration more