Finished for today, need to fix RGB algorithm