The function accounts for null or undefined values when set _x, _y and _z. If null or undefined values are passed in to the function then those values are set to 0. Do you want me to explicitly call this out in prose also?