Use camelCase for function names

Renames percentile_cont and percentile_disc to percentileCont and percentileDisc respectively
Merge pull request #1189 from cleishm/camelcase_funcs

Use camelCase for function names