Remove unnecessary check for has_computation(t,R).
Remove more has_computation(t,R) checks.
Move function bodies out of header file.
Clean up checks for has_computation(t,r).