Improved YUV to RGB conversion