Fixed all bugs for 2.1 GPU algo (it works). Let the optimization begin.