A Shape-Based Functional Index for Objective Assessment of Pediatric Motor Function