Diagnosis of cerebral palsy