implemented conjugated gradient method

workgs for 32x32