Replaced interp2 with interp1, because 2D is not needed
Working on 2D model