Use vector<> and auto_ptr<> for dynamic memory allocation
Convert always-positive variables to unsigned int
Remove RESAMPLER_MAX_DIMENSION limit
Update test.cpp to remove RESAMPLER_MAX_DIMENSION limitation