Added support for non-power-of-two images, will not stretch and still performs SURF algorithm correctly