finished 1st ordre tensor and hill climbing