Linear interpolation pr