Changed optional arguments in function cg into named arguments
Added function report, update README.md