A growing fascination with nanotechnology seems to be doing wonders for the stock price of Nanometrics Inc.