Allow loading float values from rasters to PolygonGraph

* Modified code based on GDALFPolygonize method 
* Updated tests