Repaired Lab to XYZ to RGB conversion algorithm

Repaired Lab to XYZ to RGB conversion
Improved speed of copying data from QDataStream to QByteArray