update NMDS functionality and performance
small improvements to speed