Added simple linear interpolation for upsampling