Add linear interpolate command and tests