Added normalization of testing input images.