Changes to the documentation
cleaning up shape recognition