working on 2d scan init values, fixed inf values in trig test