Added sort_arr_by_key, mean_mod & wrand. Added examples