added linear interpolation for second dimension