improves docs for printDistMatrix
improves docs in esa.h
enhances various docs
fixes typo