code fixes in documentation of similarity maps