Changed RGB to YUV conversion equations.

Changed RGB to YUV conversion equations and changed data types for functions in the pixels header file.