Modeling and control of atomic force microscope for imaging using high order harmonic modes