I was getting some cases where the function was being passed a Cartesian4...so I can just assume that it is always a Cartesian3?