$InputArray is a scalar not an Array.