On the Use of Size Functions for Shape Analysis