Use camelCase for function names

Renames percentile_cont and percentile_disc to percentileCont and percentileDisc respectively