Add viewR method.
Tidy up.
Copy cf to cg.