Added toArray() methods to access the raw coordinates of geometries
Added support for Z and M coordinates in WKTReader