Added length and normalised functions
Added function to get colour from material data
Colours now store proper RGB values