Please add some intermediate points (e.g. 45 deg and  315 deg) to test the linear interpolation. e.g. for 315 deg is it using the -90 and 0 values to estimate the desired sample point?