Improved and bug-fixed shptools using libshp