Clean up, change to function

Cleaned up the code some more, removed extra variables, comments and
re-organized.  Changed the RGB rotation to change the speed of the
rotation based on the temperature, the hotter it is, the faster it will
go.