added random color function and adjusted basic lighting in usefultools.lua