The use of Size Functions for Comparison of Shapes through Differential Invariants