Working on resize. Still a problem with namespaces.
Fixed destructor bug.

ExtendCuda and CropCuda destructors were declared,
but not defined.