equalization Alogorithm as well as analysis