Applications of nanometrology and scanning probe microscopes