Tip surface interactions in afm