AFM image processing in matlab