initialized with Double.NaN, the MATLAB way