Computer correction for distorted STM images