Input dimensions for normcdf/half_cauchy_like

Hi. I was getting errors for both the truncated normal and half-Cauchy stochastics that was related to them having more than one dimension.

Do these changes seem like a reasonable way to fix this?

Thanks