add sgr-example to index
update example to use rotation_matrix
fix sphinx warnings
grammar