added method for scale transformation matrix if images are bigger then needed
added method for scale down transformation matrix