Fix output array init when no sens data is present. Has led to segfaults.