speeding up calculation and now it converges..