Merge pull request #5 from krilor/master

Fixes problem with exceeding array limits in ReSample routines.
Made (Poly)ReSample work for LatLon grid and fixed bugs