new check of similarity for result
changed func name and subtract to absdiff
merging process
changed to one-line command