bilinear rgb interpolator implemented... not working correctly