Adding Luma Calculation

Luma calculation added to be in line with WYSIWYG and have readable
text.