rescaling the pictures to 28x28