Postgres PL function for creating random points
fixes to import scripts
New class hulls