Upstream

After playing around with this code I experienced the colors being off when converted from RGB to the xy values. Found the solution on:
https://github.com/PhilipsHue/PhilipsHueSDKiOS/blob/master/ApplicationDesignNotes/RGB%20to%20xy%20Color%20conversion.md