Functions to create point sets