Improving the Imaging Speed of an Atomic Force Microscope