Wrote kernel that builds R-values