Add comments to uniform setters
Change pointer usage to reference