changes for y limits and permutation

added arguments -ylim and —random_permute.  functionality for ylim is
ready.