Fix ecdf bugs

Corrects output of  ecdf in the case where there are no values in X
between two values in v and the case where all values in X were less
than multiple values in v.
Merge pull request #21 from simonster/ecdf

Fix ecdf bugs