Sanity check if the point set is empty

Signed-off-by: Miklos Espak <m.espak@ucl.ac.uk>