Added NaN initialization to matrix objects (in debug compilation)

This allows to detect not initialized memory when using debug compiled binary.