Initialize arrays to zero values to avoid accessing uninitialized values.
Initialized variables to 0.0f to avoid a potential access to uninitialized variables.