Added licence
Added script for mean and percentiles