Docs(functions): add docs to all functions of project
Add Docstring documentation to every functions and documentation to long functions for knn optimized version
Add Docstring documentation to every functions and documentation to long functions for knn optimized version