Fix normcdf for greater than 1d input

Input with over one dimension was raising

  ValueError: The truth value of an array with more than one element is
  ambiguous. Use a.any() or a.all()
Fix half_cauchy_like for greater than 1d input

Input with over one dimension was raising

  ValueError: The truth value of an array with more than one element is
  ambiguous. Use a.any() or a.all()
Merge pull request #380 from kyleam/input-dim

Input dimensions for normcdf/half_cauchy_like