Improved computational methods and strategies for nanomaterial grouping